<?php

namespace App\Transformers\Course;

use App\Models\CourseModel;
use League\Fractal\TransformerAbstract;

class ShowTransformer extends TransformerAbstract
{
    public function transform(CourseModel $course) {
        return [
            'course_name'    => $course->course_name,
        ];
    }

}